<template>
  <div>
    <div>
      <!-- 二级出口 -->
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </div>
    <van-tabbar route>
      <van-tabbar-item  to="/main" icon="wap-home-o">首页</van-tabbar-item>
      <van-tabbar-item  to="/list" icon="search">找房</van-tabbar-item>
      <van-tabbar-item  to="/news" icon="newspaper-o">资讯</van-tabbar-item>
      <van-tabbar-item replace to="/profile" icon="contact">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'ListPage',
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style scoped lang="less">
.search {
  width: 100%;
  height: 50px;
  background-color: #21b97a;
}
</style>
